import { UPDATEPAGEMYALBUM } from '../types/pagemyalbum'
import { handleActions } from 'redux-actions'

const Schema = {
	showEmpty: false,
	requestOverFirst: false,
	networkerror: false,
	breaklocation: false,
	havenoshopbyshare: false
}

export default handleActions({
	[UPDATEPAGEMYALBUM](state, action) {
		return {
			...state,
			...action.payload
		}
	}
}, Schema)